home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5281 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  44 lines

  1. Path: mail2news.demon.co.uk!compu.demon.co.uk
  2. From: Kevin David Watkins <kevin@compu.demon.co.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: Symantec C++ v7.2
  5. Date: Sat, 03 Feb 96 01:17:03 GMT
  6. Organization: Computech
  7. Message-ID: <823310223snz@compu.demon.co.uk>
  8. Reply-To: kevin@compu.demon.co.uk
  9. X-NNTP-Posting-Host: compu.demon.co.uk
  10. X-Newsreader: Demon Internet Simple News v1.27
  11. X-Mail2News-Path: compu.demon.co.uk
  12.  
  13.  
  14. Hi netters,
  15.  
  16. I have bought Symantec C++ v7.2 and found a few problems with it, viz:
  17. 1.  The maths library produces some unexpected results eg:
  18.  
  19.     #include <iostream.h>
  20.     #include <math.h>
  21.     main()
  22.     {
  23.       int i;
  24.       for (i = 0;i < 10;i++) 
  25.         cout << log((double)i/10.0) << '\n';
  26.     }
  27.  
  28.     produces wildly inaccurate numners (eg 1e+40) every three or four 
  29.     iterations or so, the numbers inbetween are perfectly OK.
  30.  
  31. 2.  Exceptions seem to be ignored when thrown.
  32.  
  33. Has anyone else expereinced similar problems? Any patches?
  34.  
  35. Cheers
  36.  
  37. Kevin 
  38.  
  39. P.S. Please reply to my email address. Thanks.
  40.  
  41. -- 
  42. Kevin D. Watkins                                      kevin@compu.demon.co.uk
  43.  
  44.